package example.players;

import rafael.bot.PMCModel;
import roshambo.Player;

public class PerceptronPlayer implements Player{
	private ModelPlayer mp;
	public PerceptronPlayer(int memory) {
		mp = new ModelPlayer(new PMCModel(memory),memory);
	}
	@Override
	public void newGame(int games) {
		mp.newGame(games);
	}
	@Override
	public int play() {
		 return mp.play();
	}
	
	@Override
	public void receive(int result) {
		mp.receive(result);
	}
}
